package com.chinamobile.websocket.domain.dto;

import com.chinamobile.websocket.websocket.scene.AbstractEndpointHandlerImpl;
import lombok.Data;
import lombok.NonNull;

/**
 * @className: SceneDto
 * @description 场景参数
 * @author: fanzhijun
 * @date: 2024/2/7
 **/
@Data
public class SceneDto {
    Integer type;
    String desc;
    Class<? extends AbstractEndpointHandlerImpl> impl;

    public SceneDto(@NonNull Integer type, String desc, @NonNull Class<? extends AbstractEndpointHandlerImpl> impl) {
        this.type = type;
        this.desc = desc;
        this.impl = impl;
    }
}
